#include "GameLib.h"

void CSettings::ReadFunc()
{
	int tmp;
	int i =0;

	ifstream in("data/settings/settins.txt");
	while(in)
	{
		i++;
		in >> tmp;
		if (i == 1) win_width = tmp;
		if (i == 2) win_height = tmp;
		if (i == 3) isFullscreen = tmp;
		if (i == 4) shadows = tmp;
	}
		
	in.close();	
}

void CSettings::ReadKeySet()
{
	ifstream in("data/settings/keyboard.txt");
	
	int tmp;
	int i =0;
	
	while(in)
	{
		i++;
		//in >> tmp;

	}

}